package com.qf.entity;

import java.io.Serializable;

/**
 * @author Ypl
 * @version V1.0
 * @Project September-maven
 * @Package com.qf.entity
 * @Description:
 * @Date 2022/9/24 15:13
 */
@SuppressWarnings("all")
//实现序列化并持久化缓存，实现接口
public class Subject implements Serializable {

    private int sId;
    private String sName;
    private int sTime;

    public Subject() {
    }

    public Subject(int sId, String sName, int sTime) {
        this.sId = sId;
        this.sName = sName;
        this.sTime = sTime;
    }

    public int getsId() {
        return sId;
    }

    public void setsId(int sId) {
        this.sId = sId;
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }

    public int getsTime() {
        return sTime;
    }

    public void setsTime(int sTime) {
        this.sTime = sTime;
    }

    @Override
    public String toString() {
        return "Subject{" +
                "sId=" + sId +
                ", sName='" + sName + '\'' +
                ", sTime=" + sTime +
                '}';
    }

}
